{% extends 'base.html' %}

{% block metas %}
{{ super() }}
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% endblock %}

{% block styles %}
{{ super() }}
{% endblock %}

{% block content %}
<div class="container">
    <h1>Render Form with Bootstrap-Flask</h1>

    <form method="post">
        {{ form.csrf_token }}
        <div class="form-group">
          {{ form.username.label }}
          {{ form.username(class="form-control",placeholder="请输入")}}
        </div>
        <div class="form-group">
            {{ form.password.label }}
            {{ form.password(class="form-control",placeholder="请输入密码")}}
        </div>
        <div class="form-check">
            {{ form.reminder_me(class="form-check-input")}}
            {{ form.reminder_me.label(class="form-check-label") }}
        </div>
        <br>
        {{ form.submit(class="btn btn-primary")}}
      </form>

</div>
{% endblock %}
